Skip to content

Upgrade PHPUnit configuration to version 10#44

Merged
sylfabre merged 2 commits intomainfrom
phpunit_10
Mar 22, 2026
Merged

Upgrade PHPUnit configuration to version 10#44
sylfabre merged 2 commits intomainfrom
phpunit_10

Conversation

@sylfabre
Copy link
Contributor

Summary

  • Updates phpunit.xml.dist to use PHPUnit 10 schema
  • Moves source directory configuration from <coverage> to <source> (PHPUnit 10 format)
  • Removes deprecated processUncoveredFiles attribute
  • Renames DateTest class to AbsoluteDateTypeTest to match file name (PHPUnit 10 requirement)

Note: The class rename also fixes a bug where only 23 tests were running instead of 42 — AbsoluteDateTypeTest.php was silently skipped because the class name didn't match.

Test plan

  • All PHPUnit tests pass (42 tests, was 23 before fix)
  • phpcs passes
  • phpstan passes
  • rector --dry-run passes

🤖 Generated with Claude Code

sylfabre and others added 2 commits March 20, 2026 13:01
- Rename test class to match file name (PHPUnit 10 requirement)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

@sylfabre sylfabre merged commit ae9074f into main Mar 22, 2026
4 of 6 checks passed
@sylfabre sylfabre deleted the phpunit_10 branch March 22, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant